package com.ruicar.afs.cloud.apply.pre.loan.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruicar.afs.cloud.apply.common.entity.ApplyCustPersonalDetail;

import java.util.List;

/**
 * 个人客户明细接口
 *
 * @author jihuigeng
 */
public interface ApplyCustPersonalService extends IService<ApplyCustPersonalDetail> {

    /**
     * 通过申请编号获取客户明细列表
     *
     * @param applyNo
     * @return
     */
    public List<ApplyCustPersonalDetail> getCustPersonalDetailList(String applyNo);

    /**
     * 通过申请编号和客户ID查询客户明细
     *
     * @param applyNo
     * @param custId
     * @return
     */
    public ApplyCustPersonalDetail getCustPersonalDetail(String applyNo, Long custId);

    /**
     * 通过申请编号和客户角色查询客户明细
     *
     * @param applyNo
     * @param custRole
     * @return
     */
    public ApplyCustPersonalDetail getPersonalDetailForMain(String applyNo, String custRole);

}
